 <div class="row">
    <div class="col-md-8 left-content">
        <div class="col-md-12">
            <div class="introduction">
                <h2 class="title"><span>Giới thiệu</span></h2>
                <p class="text">
                    <?php echo mb_substr(strip_tags($aboutItem->content),  0, 750, "utf-8")?> ... 
                </p>
                <a href="<?php echo base_url()."gioi-thieu" ?>" title="" class="btn-details">Chi tiết</a>
            </div>
        </div>

        <div class="col-md-6">
            <div class="news-list">
                <h2 class="title"><span>Tin tức mới</span></h2>
                <ul>
                    <?php foreach($newsItems as $item) { ?>
                    <li>
                        <a href="<?php echo base_url()."tin-tuc/0/".$item->slug."-".$item->id; ?>" title="<?php echo $item->name ?>" class="text">
                            <div class="news-date"><?php echo date("d/m/Y",strtotime($item->date_updated)) ; ?></div>
                            <div class="news-title"><?php echo mb_substr(strip_tags($item->name),  0, 25, "utf-8") ?> ...</div>
                        </a>
                    </li>
                    <?php }?>
                </ul>
            </div>
        </div>

        <div class="col-md-6">
            <div class="news-list">
                <h2 class="title"><span>Tin tức du lịch</span></h2>
                <ul>
                <?php 
                    $area = "";
                    $label = "";
                    foreach($travelItem as $item)
                    {
                        if($item->city_id != 0) 
                        {
                            if($this->city_m->getArea($item->city_id)->area == 1)
                            {
                                $area = "Miền Bắc";
                                $label = "label label-danger";
                            }
                            else if($this->city_m->getArea($item->city_id)->area == 2)
                            {
                                $area = "Miền Trung";
                                $label = "label label-warning";
                            }
                            else if($this->city_m->getArea($item->city_id)->area == 3)
                            {
                                $area = "Miền Nam";
                                $label = "label label-success";
                            }
                        }
                        else
                        {
                            $area = "Du lịch Nước ngoài";
                            $label = "label label-info";
                        }
                    
                ?>
                    <li>
                        <a href="<?php echo base_url()."du-lich/".$item->subcategory_id."/".$item->slug."-".$item->id; ?>" title="<?php echo $item->name; ?>" class="text">
                            <div class="news-date"><?php echo date("d/m/Y",strtotime($item->date_updated)) ; ?></div>
                            <div class="news-title"><span class="<?php echo $label; ?>"><?php echo $area; ?></span> <?php echo $item->name; ?></div>
                        </a>
                    </li>
                    <?php
                    } 
                    ?>
                </ul>
            </div>
        </div>
        <div class="col-md-12">
            <div class="introduction">
                <h2 class="title"><span>Đối tác</span></h2>

                <a href="" title="" class="btn-details">Chi tiết</a>
            </div>
        </div>
    </div>    
    <div class="col-md-4 right-content">
        <div class="col-md-12">
            <h2 class="title"><span>Facebook</span></h2>
            <div id="fb-root"></div>
            <script>(function(d, s, id) {
              var js, fjs = d.getElementsByTagName(s)[0];
              if (d.getElementById(id)) return;
              js = d.createElement(s); js.id = id;
              js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=346656212139476&version=v2.0";
              fjs.parentNode.insertBefore(js, fjs);
          }(document, 'script', 'facebook-jssdk'));</script>
          <div class="fb-like-box" data-href="https://www.facebook.com/hdvvn" data-colorscheme="dark" data-show-faces="true" data-header="false" data-stream="false" data-show-border="false"></div>
      </div>
  </div>
</div>
<div class="clear"></div>